SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0afd3177f7062b621acceeb83f7a86f4fee0c05308084e4e345177adad289eba' 
  AND token = '0XzpL3fnMCj3zE7l7d8ItGnXCd6FebkDUdI+SYIuMWw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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