SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '009b0fc492779ee0310a1fd87e7628a68551814edcc287801b6dba1ac6bb0da2' 
  AND token = '5OJEOapTfgak0KUQQLh9sx6TcurxSiWQAOGaBvVgIUk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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