SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '80a2633691b8a5c1cd423bf2a09d4ca78c41dc88383eadd99493f065df6fa31c' 
  AND token = '2EhsfkNOeMI6ZD9Zl+/LJhcIrAa6FqMgxXFsgV/y5Yc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00083

JSON explain

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