SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a5fcb809c7e39db3107809b86806f13240b1c014656140dbb138184148fb376' 
  AND token = 'eNiw6CWtOBmpImduoLH06g+O1KiFnCvnYY9uf2DCanM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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