SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5c563a1dd3122b02a97a4e94e8e714a0f2579a7be3d7635fb4dc909db10e74e' 
  AND token = 'Ux5TIYRhluamtl1YTAtZ7glgBdPe5qVOt5EflPxQxLo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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