SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5fcb7fa107c4cd0b53c72b55d5117fef43380d2c51746aaf3e502de48e7ce6fa' 
  AND token = '5TZCpjN021z11jXJoEiZ5Aci0xdZFpB+3y7NrRvdu9M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}