SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a629fefb0fa2a3b33d0917de2c0fa0d01bd72e80d06cda39f02c4a0fd9e26e7' 
  AND token = 'goHGl5233G+MNrYhlzbyuYyOXYFWC5aaCEmJiosAflQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00062

JSON explain

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