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

Query time 0.00034

JSON explain

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