SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ea9f231546c1bda9529a717c2057856922c7a22aef0b7e0bdde9a73837b457d' 
  AND token = 'bkdd54IQG0qRff574Zh/ww6sX0DVoTboXeusppF+esE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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