SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20a54656aaaf314125e72982dfdb79c85390ecb69f23af1db88189b936b6cdd5' 
  AND token = 'QSQPqINs9Ll/6j+yXgEWQe+H0Rni3ULcoNXllyK33QQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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