SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd158c4022599c6b854a789b0b611e7f1daf95ea7df8ea9fe59f2f7dc56ecb40a' 
  AND token = 'xlvDFeE/wtD9fZ+1lPomGMAk77XzT6CrojLFU+Rr9Bk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00058

JSON explain

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