SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9c7b7a28c31592b2580d81e91cd8dfe167aef2e24f3c7a7e0046eef0ddbb527d' 
  AND token = '9Il+OUiJB3Xbtk8dsElo6h41GSz73vd+iFYd5RJzTv4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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